package cn.edu.sgu.www.mhxysy.mapper.repository;

import cn.edu.sgu.www.mhxysy.entity.repository.PackageProp;
import cn.edu.sgu.www.mhxysy.vo.prop.PropVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Repository
public interface PackagePropMapper extends BaseMapper<PackageProp> {

    /**
     * 查询角色的包裹物品列表
     * @param roleId 角色ID
     * @return List<PropVO>
     */
    List<PropVO> selectByRoleId(@Param("roleId") String roleId);
}